<?php
$cheaper = $_GET['cheaper'];
$cheap2 = $_GET['chep2'];
$filepath = $_SERVER['DOCUMENT_ROOT'].'/'.$cheaper.'/'.$cheap2.'.txt';
if(unlink($filepath)){
    echo json_encode(array('code'=>200));
}else{
    echo json_encode(array('code'=>400));
}